package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Menu;
import com.itheima.pojo.Role;
import com.itheima.pojo.User;
import java.util.LinkedHashSet;
import java.util.List;


public interface AuthorityService {

    //分页查询
    PageResult findByPage(QueryPageBean queryPageBean);

    LinkedHashSet<Menu> findMenuByUsername(String username);

    List<Menu> findMenuById(Integer id);

    User findUserByUsername(String username);

    List<Integer> findRoleCheckedIdByUsername(String username);

    List<Role> findRoles();

    void edit(Integer[] checkitemIds, User user);
}
